package com.test.controller;

import java.util.Map;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.test.common.WetherUtil;

@RequestMapping("/wether")
@Controller
public class WetherController {
	
	
	@RequestMapping("/getWether")
	@ResponseBody
	public Object getWhether(String cityName){
		return WetherUtil.getWetherToString(cityName);
	}

}
